package com.example.springMVC.service;

import com.example.springMVC.pojo.Provider;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ProviderService {
    PageInfo<Provider> getProviderList(Integer currentPage, String proCode, String proName);

    Provider getProviderById(long providerId);

    boolean deleteProvider(long providerId);

    boolean updateProviderById(Provider provider);

    boolean providerAdd(Provider provider);

    List<Provider> getproList();
}
